﻿using MapleLeaf.DataBase.Entity;
using SqlSugar;

namespace MapleLeaf.Model.CookBook.Organization.Entity
{
    /// <summary>
    /// 字典
    /// </summary>
    [SugarTable("sys_dict", "字典")]
    public class DictEntity : DataEntityBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDescription = "名称")]
        public string Name { get; set; }
        /// <summary>
        /// 代码
        /// </summary>
        [SugarColumn(ColumnDescription = "代码", ColumnName = "code")]
        public string DictCode { get; set; }
    }
}